package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mr.Shang
 * @version 1.0
 * @date 2021/9/15 11:21
 * @Description 电子文档实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ElectronicFile implements Serializable {
    Integer id;
    String filename;
    String digest;
    String username;

    @JsonFormat(pattern = "yyyy-MM-dd")
    Date date;
}
